//
//  UserProfileViewController.h
//  XPhoto
//
//  Created by sentinel on 2020/3/20.
//  Copyright © 2020 baboy. All rights reserved.
//

#import "PostBaseViewController.h"
#import "BKCollectionView.h"
NS_ASSUME_NONNULL_BEGIN

@interface UserProfileViewController :BKViewController
@property(nonatomic, strong) IBOutlet UIScrollView *scrollView;
@property(nonatomic, strong) IBOutlet UIScrollView *contentScrollView;
@property(nonatomic, strong) IBOutlet NSLayoutConstraint *contentScrollViewHeightConstraint;
@property(nonatomic, strong) IBOutlet NSLayoutConstraint *sectionBarOffsetYConstraint;

@property(nonatomic, strong) IBOutlet UIView *sectionBar;
@property(nonatomic, strong) IBOutlet UIButton *postButton;
@property(nonatomic, strong) IBOutlet UIButton *serialButton;
@property(nonatomic, strong) IBOutlet BKCollectionView *postCollectionView;
@property(nonatomic, strong) IBOutlet BKTableView *serialTableView;

#pragma mark - UserProfile
@property(nonatomic, strong) IBOutlet UIImageView *coverImageView;
@property(nonatomic, strong) IBOutlet UIButton *avatarButton;
@property(nonatomic, strong) IBOutlet UIButton *editButton;
@property(nonatomic, strong) IBOutlet UILabel *nameLabel;
@property(nonatomic, strong) IBOutlet UILabel *userNameLabel;
@property(nonatomic, strong) IBOutlet UITextView *introlTextView;
@property(nonatomic, strong) IBOutlet UIButton *fanCountButton;
@property(nonatomic, strong) IBOutlet UIButton *postCountButton;
@property(nonatomic, strong) IBOutlet UIButton *followCountButton;
@property(nonatomic, strong) IBOutlet UIButton *backButton;
@property(nonatomic, strong) IBOutlet NSLayoutConstraint *topViewHeightConstraint;

@property(nonatomic, strong) IBOutlet UIButton *settingButton;


@property(nonatomic, strong) IBOutlet UIView *navBar;
@property(nonatomic, strong) IBOutlet UILabel *navBarTitleLabel;

@property(nonatomic, assign) NSInteger uid;
@property(nonatomic, strong) User *user;


- (IBAction)editProfile:(id)sender;
- (IBAction)changeAvatar:(id)sender;
- (IBAction)clickRecordButton:(id)sender;
- (IBAction)clickFanButton:(id)sender;
- (IBAction)clickFollowButton:(id)sender;

- (IBAction)clickPostButton:(id)sender;
- (IBAction)clickSerialButton:(id)sender;
- (IBAction)clickSettingButton:(id)sender;

@end

NS_ASSUME_NONNULL_END
